package rewrite;

import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;

class Person{
    public String name;
    public int age;

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}


public class Test {
    public static void main(String[] args) {
        Person person = new Person();
        System.out.println(person);

    }

}
